import { service } from "../index";
// 登录
export const loginAsync = (data) => {
  return service({
    url: "/api/login",
    method: "post",
    data
  });
};